projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcc303f
)
(doprnt1): Move cast to unsigned inside a shift.
author
Richard M. Stallman
<rms@gnu.org>
Mon, 26 Feb 1996 20:24:16 +0000
(20:24 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Mon, 26 Feb 1996 20:24:16 +0000
(20:24 +0000)
src/doprnt.c
patch
|
blob
|
history
diff --git
a/src/doprnt.c
b/src/doprnt.c
index 2a3839d389e5698c831c390827b9bf54a8946866..3a1e41741c5e66cc5bd8787ef16a34962dfdc36d 100644
(file)
--- a/
src/doprnt.c
+++ b/
src/doprnt.c
@@
-137,7
+137,7
@@
doprnt1 (lispstrings, buffer, bufsize, format, format_end, nargs, args)
size_bound = -size_bound;
size_bound += 50;
- if (size_bound > (
unsigned) (1
<< (BITS_PER_INT - 1)))
+ if (size_bound > (
((unsigned) 1)
<< (BITS_PER_INT - 1)))
error ("Format padding too large");
/* Make sure we have that much. */